﻿<ribbon:RibbonWindow x:Class="QLab.MainWindow"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:avalondock="clr-namespace:AvalonDock;assembly=AvalonDock"
		xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
		xmlns:uc="clr-namespace:QLab.UserControls"
		xmlns:qlab="clr-namespace:QLab"
		xmlns:regions="clr-namespace:Microsoft.Practices.Prism.Regions;assembly=Microsoft.Practices.Prism"
		Title="QLab" 
		Height="450" 
		Width="725">
	<DockPanel>
		<!--<uc:Ribbon x:Name="ribbon" DockPanel.Dock="Top" />-->
		<ContentControl DockPanel.Dock="Top" regions:RegionManager.RegionName="RibbonRegion" />

		<StatusBar DockPanel.Dock="Bottom">
			<TextBlock Text="{Binding Path=StatusText}" Margin="5 0 0 0" Padding="0" x:Name="statusBar"/>
		</StatusBar>
		
		<avalondock:DockingManager x:Name="dockManager">
			<avalondock:ResizingPanel Orientation="Horizontal">
				<avalondock:DockablePane avalondock:ResizingPanel.ResizeWidth="200">
					<avalondock:DockableContent x:Name="classesContents" Title="Solution Explorer">
						<ContentControl regions:RegionManager.RegionName="SolutionExplorerRegion">

						</ContentControl>
					</avalondock:DockableContent>
				</avalondock:DockablePane>
				
				<avalondock:ResizingPanel Orientation="Vertical">
					<avalondock:DocumentPane x:Name="tabContainer" regions:RegionManager.RegionName="DocumentRegion">
						<!--Primer kako se DocumentPane popunjava sa sadrzajem  <avalondock:DocumentContent Title="My Document!" />-->
					</avalondock:DocumentPane>
					
					<avalondock:DockablePane avalondock:ResizingPanel.ResizeHeight="150">                       
						<avalondock:DockableContent x:Name="consoleContent" Title="Console">
							<ContentControl regions:RegionManager.RegionName="ConsoleRegion">
							<!--<uc:ConsoleView x:Name="console" />-->
							</ContentControl>
						</avalondock:DockableContent>
					</avalondock:DockablePane>                    
				</avalondock:ResizingPanel>
				
				<avalondock:ResizingPanel Orientation="Vertical" avalondock:ResizingPanel.ResizeWidth="200">
					<avalondock:DockablePane>
						<avalondock:DockableContent Title="Variables" x:Name="variablesContent" Background="White">
							<ContentControl regions:RegionManager.RegionName="VariablesRegion" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
								
							</ContentControl>
						</avalondock:DockableContent>
					</avalondock:DockablePane>
					<avalondock:DockablePane>                    
						<avalondock:DockableContent Title="Command History" x:Name="Output">
							<ContentControl regions:RegionManager.RegionName="CommandHistoryRegion">
							<!--<TextBox IsReadOnly="True" AcceptsReturn="True" />-->
							</ContentControl>
						</avalondock:DockableContent>
					</avalondock:DockablePane>
				</avalondock:ResizingPanel>
			</avalondock:ResizingPanel>  

		</avalondock:DockingManager>
	</DockPanel>
</ribbon:RibbonWindow>
